package zhengfuzhe.com.newupload1;


import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import org.xutils.view.annotation.ContentView;
import org.xutils.view.annotation.Event;

import zhengfuzhe.com.newupload1.base.BaseActivity;

@ContentView(R.layout.activity_main)
public class MainActivity extends BaseActivity {

    private ProgressDialog progressDialog;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Event(value = R.id.bt_downloadFile,
            type = View.OnClickListener.class/*可选参数, 默认是View.OnClickListener.class*/)
    private void myOnClick(View v) {
        MainActivity.this.startActivity(new Intent(MainActivity.this, DownloadActivity.class));
    }


}
